
package com.echo.sdk.im.constant.properties;

import com.echo.sdk.im.constant.CIMConstant;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * @Author chentl
 * @Version V1.0
 * @Project wh-bigdata-frame.
 * @Title CIMProperties
 * @Description CIM配置项
 * @Package com.echo.sdk.im.server.constant.properties
 * @Date 2021/6/18 3:55 下午
 * @Copyright: 武汉大数据产业发展有限公司 All rights reserved.
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "cim")
public class CIMProperties {

    /**
     * @Description 外部handler配置
     * @Author chentl
     * @Create: 2021/6/18 3:12 下午
     */
    private Map<String, String> handlerMap;

    /**
     * @Description 地址
     * @Author chentl
     * @Create: 2021/6/18 3:28 下午
     */
    private String host;

    /**
     * @Description 端口
     * @Author chentl
     * @Create: 2021/6/18 3:29 下午
     */
    private int port = CIMConstant.DEFAULT_PORT;

}